#include "ScriptImageButton.h"

ScriptImageButton::ScriptImageButton(const std::string& filename):gcn::ImageButton(filename)
{

}

void ScriptImageButton::mousePressed(gcn::MouseEvent& mouseEvent)
{
    Base::mousePressed(mouseEvent);
    notify("mousePressed");
}

void ScriptImageButton::mouseReleased(gcn::MouseEvent& mouseEvent)
{
    Base::mouseReleased(mouseEvent);
    notify("mousePressed");
}

void ScriptImageButton::mouseEntered(gcn::MouseEvent& mouseEvent)
{
    Base::mouseEntered(mouseEvent);
    notify("mouseEntered");
}

void ScriptImageButton::mouseExited(gcn::MouseEvent& mouseEvent)
{
    Base::mouseExited(mouseEvent);
    notify("mouseExited");
}

void ScriptImageButton::mouseDragged(gcn::MouseEvent& mouseEvent)
{
    Base::mouseDragged(mouseEvent);
    notify("mouseDragged");
}
